<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            background: url('../static//image/flower.jfif');
            background-size: 100% 100vh ;
        }
        .title{
            background: url('../static/image/莆院.jpg');
            background-size: 300px 160px;
            width: 300px;
            height: 160px;
            margin: 0 auto;
            margin-top: 100px;
        }
        h1{
           text-align: center;
        }
        p{
           margin-left: 50%;
           transform: translateX(-50%);
           text-align: center;
           font-size: 20px;
        }
        .btn-container{
            text-align: center;
            margin-top: 20px;
        }
        .btn-container button{
            width: 100px;
            height: 40px;
            border-radius: 20px;
            cursor: pointer;
        }
        .btn-container>button:nth-child(1){
            margin-right: 5%;
        }
    </style>
</head>
<script src="static/js/jquery.min.js"></script>
<script>
    $(function(){
        $("#login").click(function(){
            window.location.href = '/loginIndex';
        })
        $("#register").click(function(){
            window.location.href = '/registerIndex';
        })
    })
</script>
<body>
    <div class="title"></div>
    <h1>基于OpenCV的手写字识别系统</h1>
    <p>作者：林世婕</p>
    <p>学号：201912034</p>
    <p>班级：智能194</p>
   <div class="btn-container">
     <button id="register">注册</button>
     <button id="login">登录</button>
   </div>
</body>
</html>